package com.itheima.health.dao;

import com.itheima.health.pojo.Member;
import org.apache.ibatis.annotations.Param;
import org.apache.poi.ss.formula.functions.Count;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @program: itcast_health
 * @create: 2019-10-25 18:16
 * @author: li he
 * @description:
 */
public interface MemberDao {
    Member findByTelephone(String telephone);

    void add(Member member);

    long findCountByMonth(String month);

    List<String> findGenders();

    long findCountByGender(String gender);

    long findCountByData(@Param("startDate") String startDate,@Param("endDate") String endDate);

    long findTodayNewMember(String today);

    long findTotalMember();

    Object findNewMemberByDate(String date);


    long getDateMemberNumber(String date);
}